//
//  OrderHomeCell.h
//  DiningCar-Business
//
//  Created by 吕晶 on 2020/4/9.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>
@class OrderMainModel;
@class OrderGoodView;
@class OrderGoodOneView;
@class OrderGoodModel;

NS_ASSUME_NONNULL_BEGIN

@interface OrderHomeCell : UITableViewCell

+ (instancetype)OrderHomeCellWithTableView:(UITableView *)tableView;

@property (nonatomic, strong) OrderMainModel *orderModel;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, copy) dispatch_block_t juJueBlock;
@property (nonatomic, copy) dispatch_block_t jieDanBlock;
@property (nonatomic, copy) dispatch_block_t chuDanBlock;

@end

@interface OrderGoodView : UIView

- (CGFloat)getHeightWithArray:(NSArray <OrderGoodModel *>*)array;
- (void)configUIWithArray:(NSArray <OrderGoodModel *>*)array;

@end

@interface OrderGoodOneView : UIView

@property (nonatomic, strong) OrderGoodModel *model;

@end

NS_ASSUME_NONNULL_END
